package org.myh.excel;

import java.io.IOException;

/**
 * ClassName: ExcelReader
 * Description:
 * date: 2024/3/25 8:58
 *
 * @author Yu Han
 * @since JDK 1.8
 */
public interface ExcelReader {

    /**
     * 读取excel的方法
     * @throws Exception
     */
    void readExcel() throws Exception;

    /**
     * 资源刷新
     * @param sheetIndex 表格
     */
    void refresh(int sheetIndex);

    /**
     * 关闭资源
     * @throws IOException
     */
    void closeResource() throws IOException;
}
